package com.bdqn.blog.service.impl;

import com.bdqn.blog.entity.Rank;
import com.bdqn.blog.mapper.RankMapper;
import com.bdqn.blog.service.RankService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 评价 服务实现类
 * </p>
 *
 * @author 阿桐幕
 * @since 2020-10-29
 */
@Service
public class RankServiceImpl extends ServiceImpl<RankMapper, Rank> implements RankService {

      @Autowired
      private  RankMapper rankMapper;

    @Override
    public int getRank(Integer SonglistId) {
        return rankMapper.getRank(SonglistId);
    }
}
